package com.example.spring0909.java;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class EmployeeDemo {
    public static void main(String[] args){
        ApplicationContext applicationContext =
                new ClassPathXmlApplicationContext("META-INF/springConfig.xml");
        Employee employee = applicationContext.getBean("emp01", Employee.class);
        employee.show();
    }
}
